<?php /* Smarty version 2.6.16, created on 2009-04-27 21:25:34
         compiled from ProfileDesign.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'messages', 'ProfileDesign.html', 2, false),array('function', 'language', 'ProfileDesign.html', 4, false),array('function', 'url', 'ProfileDesign.html', 6, false),array('function', 'i18n', 'ProfileDesign.html', 35, false),)), $this); ?>
<br />
<?php echo smarty_function_messages(array('block' => 'ProfileDesign'), $this);?>

<?php if (! $this->_tpl_vars['bUpdated']): ?>
    <div style="font-size:10pt;"><?php echo smarty_function_language(array('text' => 'from_here_you_can_edit_the_color_la'), $this);?>
<br />
        <br />
        <a href="<?php echo smarty_function_url(array('link' => 'current','act' => 'reset_all'), $this);?>
"><?php echo smarty_function_language(array('text' => 'if_you_need_want_to_reset_to_the_or'), $this);?>
</a> <br />
        <br />
    <a class="link_action" href="javascript:void(0)" onclick="javascript:popUp2('<?php echo $this->_tpl_vars['sBaseUrl']; ?>
design/pic/info.jpg','800','915','yes','200','200')">[&nbsp;<?php echo smarty_function_language(array('text' => 'view_profile_layout_guide'), $this);?>
&nbsp;]</a>
    </div>
    
    <?php echo $this->_tpl_vars['jsValMess']; ?>

    <form method="post" action="<?php echo $this->_tpl_vars['sUrl']; ?>
" name="frmProfileDesign" enctype="multipart/form-data">
    <div><input type="hidden" name="username" value="ok" /></div>
    <br />
    <table style="width:100%;">
        <tr>
            <td style="width:40%;text-align:right;font-size:10pt;" class="color"><?php echo smarty_function_language(array('text' => 'background_image'), $this);?>
:</td>
            <td style="width:60%;font-size:8pt;" class="color">
            <div class="border13">
            <div style="padding:5px;">
                <?php if ($this->_tpl_vars['aTempl']['bg_img']): ?>
                <a name="pic"></a><img src="<?php echo $this->_tpl_vars['sBgPicPath'];  echo $this->_tpl_vars['aUser']['user']; ?>
.jpg<?php echo $this->_tpl_vars['sUserImage']; ?>
" alt="" onmouseover="showInfo3('<?php echo $this->_tpl_vars['sBgPicPath'];  echo $this->_tpl_vars['aUser']['user']; ?>
.jpg<?php echo $this->_tpl_vars['sUserImage']; ?>
','200','200')" onmouseout="return nd();" style="vertical-align: middle;" height="20" width="20">
                <a onmouseover="showInfo3('<?php echo $this->_tpl_vars['sBgPicPath'];  echo $this->_tpl_vars['aUser']['user']; ?>
.jpg<?php echo $this->_tpl_vars['sUserImage']; ?>
','200','200')" onmouseout="return nd();" href="<?php echo smarty_function_url(array('link' => 'current','act' => 'reset_pic'), $this);?>
"><?php echo smarty_function_language(array('text' => 'change_image'), $this);?>
</a>
                <div id="overDiv" style="position: fixed;" />
                <?php else: ?>
                <a name="pic"></a> <input type="file" name="image" size="20" /><input type="hidden" value="2" name="textname" size="20" /></div>
                <?php endif; ?>
            </div>
            </td>
            
        </tr>
    
        <?php $_from = $this->_tpl_vars['aParts']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['sPart']):
?>
        <tr>
            <td style="width:40%;text-align:right;font-size:10pt;" class="color"><?php echo smarty_function_i18n(array('key' => "Mod_Account.design_part.".($this->_tpl_vars['sPart'])), $this);?>
</td>
            <td style="width:60%;font-size:8pt;" class="color">
            <div class="border13">
            <div style="padding:5px;"><a href="javascript:void(0)" onclick="popUp2('<?php echo smarty_function_url(array('link' => 'public.popup.colorpick','id' => "fldPD_".($this->_tpl_vars['sPart']),'id2' => "imgPD_".($this->_tpl_vars['sPart'])), $this);?>
','400','310','yes','200','200')">
                <img src="design/pic/spacer.gif" alt="" width="15" height="15" style="background:<?php echo $this->_tpl_vars['aTempl'][$this->_tpl_vars['sPart']]; ?>
;vertical-align:middle;border:1px #000 solid;" id="imgPD_<?php echo $this->_tpl_vars['sPart']; ?>
"/>
            </a>
            <a class="link_action" href="javascript:void(0)" onclick="popUp2('<?php echo smarty_function_url(array('link' => 'public.popup.colorpick','id' => "fldPD_".($this->_tpl_vars['sPart']),'id2' => "imgPD_".($this->_tpl_vars['sPart'])), $this);?>
','400','310','yes','200','200')">[ <?php echo smarty_function_language(array('text' => 'select_colors'), $this);?>
 ]</a>
                <input type="text" size="10" style="font-size:7pt;" value="<?php echo $this->_tpl_vars['aTempl'][$this->_tpl_vars['sPart']]; ?>
" id="fldPD_<?php echo $this->_tpl_vars['sPart']; ?>
" name="aTempl[<?php echo $this->_tpl_vars['sPart']; ?>
]" /></div>
            </div>
            </td>
        </tr>
        <?php endforeach; endif; unset($_from); ?>
    
    </table>
    
    <br />
    
    <table style="width:100%;">
        <tr>
            <td style="width:40%;text-align:center;font-size:10pt;vertical-align:top;" class="color"><?php echo smarty_function_language(array('text' => 'css_advanced_users'), $this);?>
:
            <div class="">
            <div style="padding:5px;"><textarea cols="60" rows="10" name="aTempl[css]"><?php echo $this->_tpl_vars['aTempl']['css']; ?>
</textarea></div>
            </div>
            </td>
        </tr>
    
    </table>
    
    <br />
    
    <div style="padding:5px;text-align:center;"><input type="submit" name="act[update_design]" value=" <?php echo smarty_function_language(array('text' => 'save_profile_settings'), $this);?>
 " class="mainmenu6" onmouseover="this.className='mainmenu7';" onmouseout="this.className='mainmenu6';" /></div>
    <br />
    </form>
<?php else: ?>
    <div style="padding:15px;font-size:10pt;" class="color">
        
        <?php echo smarty_function_messages(array('block' => 'ProfileDesign'), $this);?>

        <ul>
        <li><a href="<?php echo smarty_function_url(array('link' => 'public.user','name' => $this->_tpl_vars['aUser']['user']), $this);?>
"><?php echo smarty_function_language(array('text' => 'view_your_profile'), $this);?>
</a></li>
        <li><a href="<?php echo smarty_function_url(array('link' => 'public.account.settings.design'), $this);?>
"><?php echo smarty_function_language(array('text' => 'back_to_designing_your_page'), $this);?>
</a></li>
        </ul>
        
    </div>
<?php endif; ?>